Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PmBase.java #1075

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Update PmBase.java #1075

wants to merge 1 commit into from

Conversation

heiniuniu
Copy link

@heiniuniu heiniuniu commented Sep 19, 2024

修复卸载插件时插件信息缓存没有清除的问题。会导致卸载后,新安装的插件无法运行。

要解决的问题 Describe the problem to be solved

1.卸载插件时插件信息缓存没有完全清除(需要清除2个key: 插件名的key、包名的key, 现在只清除了插件名的key),会导致卸载后,新安装的插件无法运行(无法运行的原因请查看 com.qihoo360.loader2.PmBase#putPluginObject, 当缓存没有完全清空时,会走if 中的逻辑,并且最终不会执行mPlugins.put(xxxx),导致新安装的插件信息无法写入 mPlugins里 )。

修复卸载插件时插件信息缓存没有清除的问题。会导致卸载后,新安装的插件无法运行。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant